Skip to content

Commit

Permalink
removed deprecated warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 5, 2016
1 parent 3673693 commit 11bbb7c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/rake/task_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,6 @@ module TaskManager
# Track the last comment made in the Rakefile.
attr_accessor :last_description

# Remove Rake 12
def last_comment # :nodoc:
warn "[DEPRECATION] `last_comment` is deprecated. Please use `last_description` instead."
@last_description
end

# Remove Rake 12
def last_comment=(comment) # :nodoc:
warn "[DEPRECATION] `last_comment=` is deprecated. Please use `last_description=` instead."
@last_description = comment
@last_description # ignore warning
end

def initialize # :nodoc:
super
@tasks = Hash.new
Expand Down

0 comments on commit 11bbb7c

Please sign in to comment.