Class: GreenMonster::Attribute::String

Inherits:
Reversible show all
Defined in:
lib/green_monster/attribute/string.rb

Instance Attribute Summary

Attributes inherited from Abstract

#name, #options

Instance Method Summary collapse

Methods included from Encodable

#encode

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from GreenMonster::Attribute::Abstract

Instance Method Details

#decode(value) ⇒ Object



4
# File 'lib/green_monster/attribute/string.rb', line 4

def decode(value); value.to_s; end