Class: Wareki::Era

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

Instance Attribute Summary collapse

Instance Attribute Details

#end ⇒ Object

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

#name ⇒ Object

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

#start ⇒ Object

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

#year ⇒ Object

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