Skip to content

Commit

Permalink
Merge pull request #27 from xkshitizx/docs/add_rdocs
Browse files Browse the repository at this point in the history
Add Rdocs for methods used
  • Loading branch information
xkshitizx authored Oct 15, 2024
2 parents 913b375 + 26c8888 commit 8830b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require "thor"
require "date"
require_relative "miti"
require_relative "miti/cli/next"

module Miti
# class to integrate CLI
Expand Down
2 changes: 1 addition & 1 deletion lib/miti/cli/next.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def current_month_last_description
end

def days_left
NepaliDate::Difference.new(next_month_first, current_date).difference[:days]
NepaliDate::Difference.new(next_month_first, current_date).differentiate[:days]
end

def next_month_first
Expand Down

0 comments on commit 8830b76

Please sign in to comment.