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.



603
604
605
606
# File 'lib/surpass/formatting.rb', line 603

def initialize
  @cell_locked = 1
  @formula_hidden = 0
end

Instance Attribute Details

#cell_lockedObject

Returns the value of attribute cell_locked.



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

def cell_locked
  @cell_locked
end

#formula_hiddenObject

Returns the value of attribute formula_hidden.



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

def formula_hidden
  @formula_hidden
end