Class: Entypo::Charmap::Icon

Inherits:
Struct
  • Object
show all
Defined in:
lib/entypo/charmap.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codepointObject

Returns the value of attribute codepoint

Returns:

  • (Object)

    the current value of codepoint



9
10
11
# File 'lib/entypo/charmap.rb', line 9

def codepoint
  @codepoint
end

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



9
10
11
# File 'lib/entypo/charmap.rb', line 9

def klass
  @klass
end

Instance Method Details

#<=>(other) ⇒ Object



10
11
12
# File 'lib/entypo/charmap.rb', line 10

def <=>(other)
  klass <=> other.klass
end