class Andromeda::Atom::FillOnce

Public Instance Methods

empty!() click to toggle source
Calls superclass method
# File lib/andromeda/atom.rb, line 84
def empty! ; super.update nil end
update(v) click to toggle source
Calls superclass method
# File lib/andromeda/atom.rb, line 86
def update(v)
  super.update do |o|
    raise ArgumentError, 'Attempt to refill FillOnce' if o
    v
  end
end