Sha256: 581cbcd5da1bdf4823fe125e25349147a4272367c75b678b9841e0da761d1c80
Contents?: true
Size: 255 Bytes
Versions: 3
Compression:
Stored size: 255 Bytes
Contents
class Flexite::SymEntry < Flexite::Entry def value self[:value].to_sym end def view_value ":#{value}" end private def check_value self[:value].to_sym rescue errors(:value, 'cannot be casted to Symbol') false end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flexite-0.0.7 | app/models/flexite/sym_entry.rb |
flexite-0.0.6 | app/models/flexite/sym_entry.rb |
flexite-0.0.5 | app/models/flexite/sym_entry.rb |