module ExplicitReturn
Public Class Methods
explicit(*args)
click to toggle source
# File lib/explicit-return.rb, line 12 def self.explicit(*args) ExplicitReturn::ExplicitResult.new(*args) end
included(context)
click to toggle source
# File lib/explicit-return.rb, line 3 def self.included(context) context.extend(self) context.extend(MethodAddedObserver) end
Public Instance Methods
explicit(*args)
click to toggle source
# File lib/explicit-return.rb, line 8 def explicit(*args) ExplicitReturn::ExplicitResult.new(*args) end