Class: Turnip::Builder::Step1

Inherits:
Struct
  • Object
show all
Defined in:
lib/turnip_formatter/ext/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



26
27
28
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 26

def description
  @description
end

#extra_argsObject

Returns the value of attribute extra_args

Returns:

  • (Object)

    the current value of extra_args



26
27
28
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 26

def extra_args
  @extra_args
end

#keywordObject

Returns the value of attribute keyword

Returns:

  • (Object)

    the current value of keyword



26
27
28
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 26

def keyword
  @keyword
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



26
27
28
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 26

def line
  @line
end

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



26
27
28
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 26

def tags
  @tags
end

Instance Method Details

#split(*args) ⇒ Object



27
28
29
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 27

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

#to_sObject



31
32
33
# File 'lib/turnip_formatter/ext/turnip/builder.rb', line 31

def to_s
  description
end