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



106
107
108
# File 'lib/turnip/builder.rb', line 106

def description
  @description
end

#extra_argsObject

Returns the value of attribute extra_args

Returns:

  • (Object)

    the current value of extra_args



106
107
108
# File 'lib/turnip/builder.rb', line 106

def extra_args
  @extra_args
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



106
107
108
# File 'lib/turnip/builder.rb', line 106

def line
  @line
end

Instance Method Details

#split(*args) ⇒ Object

1.9.2 support hack



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

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

#to_sObject



112
113
114
# File 'lib/turnip/builder.rb', line 112

def to_s
  description
end