Class: ArDocStore::Attributes::EmbedsBase
- Defined in:
- lib/ar_doc_store/attributes/embeds_base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
Attributes inherited from Base
#attribute, #conversion, #default, #model, #options, #predicate
Instance Method Summary collapse
Methods inherited from Base
#add_ransacker, #attribute_options, #attribute_type, #build, build, #define_query_method, #initialize, #store_attribute
Methods included from CallbackSupport
Constructor Details
This class inherits a constructor from ArDocStore::Attributes::Base
Instance Attribute Details
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
6 7 8 |
# File 'lib/ar_doc_store/attributes/embeds_base.rb', line 6 def class_name @class_name end |
Instance Method Details
#embedded? ⇒ Boolean
13 14 15 |
# File 'lib/ar_doc_store/attributes/embeds_base.rb', line 13 def true end |