Module: Virtus::Annotated
- Defined in:
- lib/virtus_annotations.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extend?(attribute) ⇒ Boolean
3 4 5 |
# File 'lib/virtus_annotations.rb', line 3 def self.extend?(attribute) true end |
Instance Method Details
#annotations ⇒ Object
7 8 9 |
# File 'lib/virtus_annotations.rb', line 7 def annotations [:annotations] || {} end |