Class: Protection
- Inherits:
-
Object
- Object
- Protection
- Defined in:
- lib/surpass/formatting.rb
Instance Attribute Summary collapse
-
#cell_locked ⇒ Object
Returns the value of attribute cell_locked.
-
#formula_hidden ⇒ Object
Returns the value of attribute formula_hidden.
Instance Method Summary collapse
-
#initialize ⇒ Protection
constructor
A new instance of Protection.
Constructor Details
#initialize ⇒ Protection
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_locked ⇒ Object
Returns the value of attribute cell_locked.
598 599 600 |
# File 'lib/surpass/formatting.rb', line 598 def cell_locked @cell_locked end |
#formula_hidden ⇒ Object
Returns the value of attribute formula_hidden.
599 600 601 |
# File 'lib/surpass/formatting.rb', line 599 def formula_hidden @formula_hidden end |