Module: Graphiti::Extensions::BooleanAttribute
- Included in:
- Serializer
- Defined in:
- lib/graphiti/extensions/boolean_attribute.rb
Overview
Turns ruby ? methods into is_ attributes
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
13 14 15 |
# File 'lib/graphiti/extensions/boolean_attribute.rb', line 13 def self.included(klass) klass.extend ClassMethods end |