term_canvas 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f152aa30e57114c77541645d37e39dbbecdc8dff5f2221fb327ea03c1b517cce
4
- data.tar.gz: 2b51644b5a59d5cd2a1a9882a1c5ca6db9e53ff318485ff03537069ddb44e35f
3
+ metadata.gz: 69fea3cf5259f580cd80ffc235069856bd66fb80c74f47199f93b3168a609730
4
+ data.tar.gz: 2cb7c37df547fd592e62294a7a55ddde4467c02528781b5fd21e4017182ed39e
5
5
  SHA512:
6
- metadata.gz: 83b4e73874fcba46c6b3fbcbbf75df474363e7b262ed569353ad45a44a3054eefb051e2d491b1e25d07edb10ef8184db700ec5186a6433f572c923c0af907b46
7
- data.tar.gz: d513bf9ccf6a867fc9fa65fd919946a35be5c5d496884e832654f48ad45b05aecb124300f2c6a93a7406df208345166f07edebd2142eb9c0084e2f7d95813b09
6
+ metadata.gz: 0e98535dee900f5cb45fdf33f64eca3804b153eb61505edb0ceeaedb39186ec55d18648c6eb4ee52542320a0cf6fa5c8a6ec05e1c93c910b1353f7a8d9557eba
7
+ data.tar.gz: 6f169a4af41af6ada60e6700796bf028c65d241f0214917bdb64b23d144a534ad1ec67bf5f03acdf870cc3c166d15506927d759e68d6aac2636d3c141295acd5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- term_canvas (0.2.5)
4
+ term_canvas (0.2.6)
5
5
  curses
6
6
 
7
7
  GEM
@@ -6,5 +6,14 @@ module TermCanvas
6
6
  def set_index(index)
7
7
  @object_index = index
8
8
  end
9
+
10
+ # @param x [Integer] Offset of x
11
+ # @param y [Integer] Offset of y
12
+ # @return self
13
+ def offset(x:, y:)
14
+ @x += x
15
+ @y += y
16
+ self
17
+ end
9
18
  end
10
19
  end
@@ -1,3 +1,3 @@
1
1
  module TermCanvas
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: term_canvas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - kthatoto