Class: MD4C::Heading
- Inherits:
-
Object
- Object
- MD4C::Heading
- Defined in:
- lib/md4c.rb,
ext/md4c/rb_md4c.c
Instance Attribute Summary collapse
-
#level ⇒ Object
readonly
Returns the value of attribute level.
Instance Method Summary collapse
Instance Attribute Details
#level ⇒ Object (readonly)
Returns the value of attribute level.
56 57 58 |
# File 'lib/md4c.rb', line 56 def level @level end |
Instance Method Details
#==(other) ⇒ Object
58 59 60 |
# File 'lib/md4c.rb', line 58 def ==(other) self.class == other.class && level == other.level end |
#deconstruct_keys(*keys) ⇒ Object
62 63 64 |
# File 'lib/md4c.rb', line 62 def deconstruct_keys(*keys) { level: @level } end |