lib/redistat/key.rb in redistat-0.2.2 vs lib/redistat/key.rb in redistat-0.2.3
- old
+ new
@@ -28,16 +28,17 @@
def depth
options[:depth]
end
- def scope
- @scope.to_s
- end
+ # def scope
+ # @scope.to_s
+ # end
def scope=(input)
@scope = (input.instance_of?(Redistat::Scope)) ? input : Scope.new(input)
end
+ attr_reader :scope
def label=(input)
@label = (input.instance_of?(Redistat::Label)) ? input : Label.create(input, @options)
end
attr_reader :label
\ No newline at end of file