Method: Rubyang::Database::SchemaTree::Bit#update
- Defined in:
- lib/rubyang/database/schema_tree.rb
#update(arg) ⇒ Object
385 386 387 388 389 390 |
# File 'lib/rubyang/database/schema_tree.rb', line 385 def update arg if @bit.find{ |b| b == arg } raise ArgumentError, "#{arg} is not valid" end @bit.push arg end |