lib/drbman/drb_pool.rb in royw-drbman-0.0.1 vs lib/drbman/drb_pool.rb in royw-drbman-0.0.2

- old
+ new

@@ -98,12 +98,18 @@ obj end # Adds an in_use attribute module InUse + # set the in_use flag + # @param [Boolean] flag + # @return [Boolean] the new state of the in_use flag def in_use=(flag) @in_use = (flag ? true : false) end + + # get the in_use flag + # @return [Boolean] the state of the in_use flag def in_use? @in_use end end