Method: SmartEnum::Attributes::ClassMethods#inspect
- Defined in:
- lib/smart_enum/attributes.rb
#inspect ⇒ Object
68 69 70 71 |
# File 'lib/smart_enum/attributes.rb', line 68 def inspect lock_str = @enum_locked ? "LOCKED" : "UNLOCKED" "#{self}(#{lock_str} #{attribute_set.values.map(&:inspect).join(", ")})" end |