Class: YiffSpace::Configuration::FixerTemplates::Template

Inherits:
Struct
  • Object
show all
Defined in:
lib/yiffspace/configuration/fixer_templates.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#content_blocksObject

Returns the value of attribute content_blocks

Returns:

  • (Object)

    the current value of content_blocks



17
18
19
# File 'lib/yiffspace/configuration/fixer_templates.rb', line 17

def content_blocks
  @content_blocks
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/yiffspace/configuration/fixer_templates.rb', line 17

def name
  @name
end

#shortObject

Returns the value of attribute short

Returns:

  • (Object)

    the current value of short



17
18
19
# File 'lib/yiffspace/configuration/fixer_templates.rb', line 17

def short
  @short
end

Instance Method Details

#stepsObject



18
19
20
# File 'lib/yiffspace/configuration/fixer_templates.rb', line 18

def steps
  content_blocks.size
end