Sha256: fac0bb45bd7e4756a0e1ef9814b909b7e359d7b26984a76ec41c20f47043a0ff

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

module WhirledPeas
  module Settings
    class Position
      attr_reader :left, :top, :right, :bottom

      def left=(value)
        @right = nil
        @left = value
      end

      def top=(value)
        @bottom = nil
        @top = value
      end

      def right=(value)
        @left = nil
        @right = value
      end

      def bottom=(value)
        @top = nil
        @bottom = value
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 lib/whirled_peas/settings/position.rb
whirled_peas-0.12.0 lib/whirled_peas/settings/position.rb
whirled_peas-0.11.1 lib/whirled_peas/settings/position.rb
whirled_peas-0.11.0 lib/whirled_peas/settings/position.rb