Module: Jschematic::Attributes
- Defined in:
- lib/jschematic/attributes.rb,
lib/jschematic/attributes/ref.rb,
lib/jschematic/attributes/enum.rb,
lib/jschematic/attributes/type.rb,
lib/jschematic/attributes/items.rb,
lib/jschematic/attributes/format.rb,
lib/jschematic/attributes/extends.rb,
lib/jschematic/attributes/maximum.rb,
lib/jschematic/attributes/minimum.rb,
lib/jschematic/attributes/pattern.rb,
lib/jschematic/attributes/disallow.rb,
lib/jschematic/attributes/required.rb,
lib/jschematic/attributes/max_items.rb,
lib/jschematic/attributes/min_items.rb,
lib/jschematic/attributes/max_length.rb,
lib/jschematic/attributes/min_length.rb,
lib/jschematic/attributes/properties.rb,
lib/jschematic/attributes/dependencies.rb,
lib/jschematic/attributes/divisible_by.rb,
lib/jschematic/attributes/unique_items.rb,
lib/jschematic/attributes/additional_items.rb,
lib/jschematic/attributes/exclusive_maximum.rb,
lib/jschematic/attributes/exclusive_minimum.rb,
lib/jschematic/attributes/pattern_properties.rb,
lib/jschematic/attributes/additional_properties.rb
Defined Under Namespace
Modules: Format Classes: AdditionalItems, AdditionalProperties, Dependencies, Disallow, DivisibleBy, Enum, ExclusiveMaximum, ExclusiveMinimum, Extends, Items, MaxItems, MaxLength, Maximum, MinItems, MinLength, Minimum, Pattern, PatternProperties, Properties, Ref, Required, Type, UniqueItems
Class Method Summary collapse
Class Method Details
.[](name) ⇒ Object
28 29 30 31 |
# File 'lib/jschematic/attributes.rb', line 28 def self.[](name) = name.gsub(/^\$/, '') const_get([0].chr.capitalize + [1..-1]) end |