Module: Icss::Meta::PrimitiveSchema
- Included in:
- BinarySchema, BooleanSchema, DoubleSchema, FloatSchema, IntegerSchema, LongSchema, NilClassSchema, NumericSchema, RegexpSchema, StringSchema, SymbolSchema, TimeSchema
- Defined in:
- lib/icss/type/simple_types.rb
Instance Method Summary collapse
Instance Method Details
#doc ⇒ Object
5 |
# File 'lib/icss/type/simple_types.rb', line 5 def doc() "" end |
#doc=(str) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/icss/type/simple_types.rb', line 6 def doc=(str) singleton_class.class_eval do remove_possible_method(:doc) define_method(:doc){ str } end end |
#to_schema ⇒ Object
4 |
# File 'lib/icss/type/simple_types.rb', line 4 def to_schema() fullname ; end |