Class: Wareki::Era

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

Instance Attribute Summary collapse

Instance Attribute Details

#endObject

Returns the value of attribute end

Returns:

  • (Object)

    the current value of end



8
9
10
# File 'lib/wareki/era_def.rb', line 8

def end
  @end
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/wareki/era_def.rb', line 8

def name
  @name
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



8
9
10
# File 'lib/wareki/era_def.rb', line 8

def start
  @start
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



8
9
10
# File 'lib/wareki/era_def.rb', line 8

def year
  @year
end