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