Class: Turnip::Builder::Step

Inherits:
Struct
  • Object
show all
Defined in:
lib/turnip/builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



102
103
104
# File 'lib/turnip/builder.rb', line 102

def description
  @description
end

#extra_argsObject

Returns the value of attribute extra_args

Returns:

  • (Object)

    the current value of extra_args



102
103
104
# File 'lib/turnip/builder.rb', line 102

def extra_args
  @extra_args
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



102
103
104
# File 'lib/turnip/builder.rb', line 102

def line
  @line
end

Instance Method Details

#split(*args) ⇒ Object

1.9.2 support hack



104
105
106
# File 'lib/turnip/builder.rb', line 104

def split(*args)
  self.to_s.split(*args)
end

#to_sObject



108
109
110
# File 'lib/turnip/builder.rb', line 108

def to_s
  description
end