Class: Protection

Inherits:
Object
  • Object
show all
Defined in:
lib/surpass/formatting.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProtection

Returns a new instance of Protection.



601
602
603
604
# File 'lib/surpass/formatting.rb', line 601

def initialize
  @cell_locked = 1
  @formula_hidden = 0
end

Instance Attribute Details

#cell_lockedObject

Returns the value of attribute cell_locked.



598
599
600
# File 'lib/surpass/formatting.rb', line 598

def cell_locked
  @cell_locked
end

#formula_hiddenObject

Returns the value of attribute formula_hidden.



599
600
601
# File 'lib/surpass/formatting.rb', line 599

def formula_hidden
  @formula_hidden
end