Class: NoBrainer::Enum

Inherits:
Object
  • Object
show all
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

Methods included from NoBrainerExtensions

method_name, nobrainer_cast_db_to_model, nobrainer_cast_user_to_model, nobrainer_field_defined, nobrainer_field_undefined

Constructor Details

#initializeEnum

Returns a new instance of Enum.



2
# File 'lib/no_brainer/document/types/enum.rb', line 2

def initialize; raise; end

Class Method Details

.inspectObject



3
# File 'lib/no_brainer/document/types/enum.rb', line 3

def self.inspect; 'Enum'; end

.nameObject



5
# File 'lib/no_brainer/document/types/enum.rb', line 5

def self.name; inspect; end

.to_sObject



4
# File 'lib/no_brainer/document/types/enum.rb', line 4

def self.to_s; inspect; end