Method: Page#initialize
- Defined in:
- lib/soks-model.rb
#initialize(name) ⇒ Page
Returns a new instance of Page.
58 59 60 61 62 63 |
# File 'lib/soks-model.rb', line 58 def initialize( name ) @content_lock, @links_lock = Mutex.new, Mutex.new @name, @content, @revisions = name, "", [] @links_from, @links_to = [], [] @inserted_into = [] end |