Class: Steep::Drivers::Vendor
Instance Attribute Summary collapse
-
#clean_before ⇒ Object
Returns the value of attribute clean_before.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdin ⇒ Object
readonly
Returns the value of attribute stdin.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
-
#vendor_dir ⇒ Object
Returns the value of attribute vendor_dir.
Instance Method Summary collapse
-
#initialize(stdout:, stderr:, stdin:) ⇒ Vendor
constructor
A new instance of Vendor.
- #run ⇒ Object
Constructor Details
#initialize(stdout:, stderr:, stdin:) ⇒ Vendor
Returns a new instance of Vendor.
11 12 13 14 15 16 17 18 |
# File 'lib/steep/drivers/vendor.rb', line 11 def initialize(stdout:, stderr:, stdin:) @stdout = stdout @stderr = stderr @stdin = stdin @clean_before = false @vendor_dir = nil end |
Instance Attribute Details
#clean_before ⇒ Object
Returns the value of attribute clean_before.
9 10 11 |
# File 'lib/steep/drivers/vendor.rb', line 9 def clean_before @clean_before end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
5 6 7 |
# File 'lib/steep/drivers/vendor.rb', line 5 def stderr @stderr end |
#stdin ⇒ Object (readonly)
Returns the value of attribute stdin.
6 7 8 |
# File 'lib/steep/drivers/vendor.rb', line 6 def stdin @stdin end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
4 5 6 |
# File 'lib/steep/drivers/vendor.rb', line 4 def stdout @stdout end |
#vendor_dir ⇒ Object
Returns the value of attribute vendor_dir.
8 9 10 |
# File 'lib/steep/drivers/vendor.rb', line 8 def vendor_dir @vendor_dir end |
Instance Method Details
#run ⇒ Object
20 21 22 23 24 |
# File 'lib/steep/drivers/vendor.rb', line 20 def run stdout.puts "`steep vendor` is deprecated. Use `rbs vendor` command directly" 0 end |