Skip to content

Commit

Permalink
remove deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
christospappas committed Jul 16, 2012
1 parent f377d1b commit e1b0215
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/streama/definition_dsl.rb
Expand Up @@ -15,11 +15,6 @@ def initialize(name)

delegate :[], :to => :@attributes

def target(*args)
warn "[DEPRECATION] #target is deprecated. Please use #target_object instead."
@attributes[:target_object].store(args[0].is_a?(Symbol) ? args[0] : args[0].class.to_sym, args[1])
end

def self.data_methods(*args)
args.each do |method|
define_method method do |*args|
Expand Down

0 comments on commit e1b0215

Please sign in to comment.