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



5
6
7
# File 'lib/wareki/era_def.rb', line 5

def end
  @end
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/wareki/era_def.rb', line 5

def name
  @name
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



5
6
7
# File 'lib/wareki/era_def.rb', line 5

def start
  @start
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



5
6
7
# File 'lib/wareki/era_def.rb', line 5

def year
  @year
end