Skip to content

Commit 70397d3

Browse files
committed
Resolved rubocop Naming/AccessorMethodName issue 403
Fixed Issue intel#403 Signed-off-by: Ong Yen Yee <[email protected]> Signed-off-by: Ang Yee Teng <[email protected]>
1 parent 666fb80 commit 70397d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/data_store.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def each
668668

669669
def collection
670670
c = Collection.new(table, axes)
671-
c.set_date create_time
671+
c.date create_time
672672
end
673673

674674
def delete
@@ -735,7 +735,7 @@ def unset(key, _value)
735735
self
736736
end
737737

738-
def set_date(date)
738+
def date(date)
739739
@date = date
740740
self
741741
end

0 commit comments

Comments
 (0)