Class: SqlEnum::Configuration
- Inherits:
-
Object
- Object
- SqlEnum::Configuration
- Defined in:
- lib/sql_enum/configuration.rb
Instance Attribute Summary collapse
-
#default_prefix ⇒ Object
Returns the value of attribute default_prefix.
-
#default_suffix ⇒ Object
Returns the value of attribute default_suffix.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/sql_enum/configuration.rb', line 5 def initialize @default_prefix = false @default_suffix = false end |
Instance Attribute Details
#default_prefix ⇒ Object
Returns the value of attribute default_prefix.
3 4 5 |
# File 'lib/sql_enum/configuration.rb', line 3 def default_prefix @default_prefix end |
#default_suffix ⇒ Object
Returns the value of attribute default_suffix.
3 4 5 |
# File 'lib/sql_enum/configuration.rb', line 3 def default_suffix @default_suffix end |