lib/vedeu/cursor/cursor.rb in vedeu-0.4.37 vs lib/vedeu/cursor/cursor.rb in vedeu-0.4.38
- old
+ new
@@ -14,33 +14,33 @@
# @!attribute [r] name
# @return [String]
attr_reader :name
- # @!attribute [r] ox
+ # @!attribute [rw] ox
# @return [Fixnum]
- attr_reader :ox
+ attr_accessor :ox
- # @!attribute [r] oy
+ # @!attribute [rw] oy
# @return [Fixnum]
- attr_reader :oy
+ attr_accessor :oy
# @!attribute [r] state
# @return [Boolean|Symbol]
attr_reader :state
# @!attribute [r] visible
# @return [Boolean|Symbol]
attr_reader :visible
alias_method :visible?, :visible
- # @!attribute [r] x
+ # @!attribute [rw] x
# @return [Fixnum]
- attr_reader :x
+ attr_accessor :x
- # @!attribute [r] y
+ # @!attribute [rw] y
# @return [Fixnum]
- attr_reader :y
+ attr_accessor :y
# Returns a new instance of Vedeu::Cursor.
#
# @param attributes [Hash]
# @option attributes name [String] The name of the interface this cursor