Class: Metado::Type::Comment

Inherits:
Struct
  • Object
show all
Defined in:
lib/metado/type/comment.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



3
4
5
# File 'lib/metado/type/comment.rb', line 3

def body
  @body
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



3
4
5
# File 'lib/metado/type/comment.rb', line 3

def file
  @file
end

#line_numberObject

Returns the value of attribute line_number

Returns:

  • (Object)

    the current value of line_number



3
4
5
# File 'lib/metado/type/comment.rb', line 3

def line_number
  @line_number
end