Class: Rubyang::Database::SchemaTree::BitsType
- Defined in:
- lib/rubyang/database/schema_tree.rb
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize ⇒ BitsType
constructor
A new instance of BitsType.
- #update_bit(arg) ⇒ Object
- #valid?(value) ⇒ Boolean
Constructor Details
Instance Method Details
#update_bit(arg) ⇒ Object
153 154 155 |
# File 'lib/rubyang/database/schema_tree.rb', line 153 def update_bit arg @bit.update arg end |
#valid?(value) ⇒ Boolean
156 157 158 159 160 |
# File 'lib/rubyang/database/schema_tree.rb', line 156 def valid? value result = true result &&= @bit.valid? value result end |