Class: NoBrainer::Enum
- Inherits:
-
Object
- Object
- NoBrainer::Enum
- Extended by:
- NoBrainerExtensions
- Defined in:
- lib/no_brainer/document/types/enum.rb
Defined Under Namespace
Modules: NoBrainerExtensions
Constant Summary
Constants included from NoBrainerExtensions
NoBrainerExtensions::InvalidType
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Enum
constructor
A new instance of Enum.
Methods included from NoBrainerExtensions
method_name, nobrainer_cast_db_to_model, nobrainer_cast_user_to_model, nobrainer_field_defined, nobrainer_field_undefined
Constructor Details
#initialize ⇒ Enum
Returns a new instance of Enum.
2 |
# File 'lib/no_brainer/document/types/enum.rb', line 2 def initialize; raise; end |
Class Method Details
.inspect ⇒ Object
3 |
# File 'lib/no_brainer/document/types/enum.rb', line 3 def self.inspect; 'Enum'; end |
.name ⇒ Object
5 |
# File 'lib/no_brainer/document/types/enum.rb', line 5 def self.name; inspect; end |
.to_s ⇒ Object
4 |
# File 'lib/no_brainer/document/types/enum.rb', line 4 def self.to_s; inspect; end |