Class: Turnip::Builder::Step
- Inherits:
-
Struct
- Object
- Struct
- Turnip::Builder::Step
- Defined in:
- lib/turnip/builder.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#extra_args ⇒ Object
Returns the value of attribute extra_args.
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
-
#split(*args) ⇒ Object
1.9.2 support hack.
- #to_s ⇒ Object
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
112 113 114 |
# File 'lib/turnip/builder.rb', line 112 def description @description end |
#extra_args ⇒ Object
Returns the value of attribute extra_args
112 113 114 |
# File 'lib/turnip/builder.rb', line 112 def extra_args @extra_args end |
#keyword ⇒ Object
Returns the value of attribute keyword
112 113 114 |
# File 'lib/turnip/builder.rb', line 112 def keyword @keyword end |
#line ⇒ Object
Returns the value of attribute line
112 113 114 |
# File 'lib/turnip/builder.rb', line 112 def line @line end |
Instance Method Details
#split(*args) ⇒ Object
1.9.2 support hack
114 115 116 |
# File 'lib/turnip/builder.rb', line 114 def split(*args) self.to_s.split(*args) end |
#to_s ⇒ Object
118 119 120 |
# File 'lib/turnip/builder.rb', line 118 def to_s "#{keyword}#{description}" end |