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.
603 604 605 606 |
# File 'lib/surpass/formatting.rb', line 603 def initialize @cell_locked = 1 @formula_hidden = 0 end |
Instance Attribute Details
#cell_locked ⇒ Object
Returns the value of attribute cell_locked.
600 601 602 |
# File 'lib/surpass/formatting.rb', line 600 def cell_locked @cell_locked end |
#formula_hidden ⇒ Object
Returns the value of attribute formula_hidden.
601 602 603 |
# File 'lib/surpass/formatting.rb', line 601 def formula_hidden @formula_hidden end |