Class: Rough::PathDataParser::Segment

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

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



5
6
7
# File 'lib/rough/path_data_parser.rb', line 5

def data
  @data
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



5
6
7
# File 'lib/rough/path_data_parser.rb', line 5

def key
  @key
end