Class: ProtocGenRails::FileResult

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

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



14
15
16
# File 'lib/generator.rb', line 14

def content
  @content
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



14
15
16
# File 'lib/generator.rb', line 14

def name
  @name
end