Class: Minidoc::Value
- Inherits:
-
Object
- Object
- Minidoc::Value
- Extended by:
- ActiveModel::Naming
- Defined in:
- lib/minidoc/value.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#as_value ⇒ Object
18 19 20 |
# File 'lib/minidoc/value.rb', line 18 def as_value self end |
#to_key ⇒ Object
10 11 12 |
# File 'lib/minidoc/value.rb', line 10 def to_key [id.to_s] end |
#to_param ⇒ Object
14 15 16 |
# File 'lib/minidoc/value.rb', line 14 def to_param id.to_s end |