Module: Verbalize

Defined in:
lib/verbalize.rb,
lib/verbalize/build.rb,
lib/verbalize/error.rb,
lib/verbalize/action.rb,
lib/verbalize/result.rb,
lib/verbalize/failure.rb,
lib/verbalize/success.rb,
lib/verbalize/version.rb

Defined Under Namespace

Modules: Action Classes: Build, Failure, Result, Success

Constant Summary collapse

THROWN_SYMBOL =

Remove this in a later version of Verbalize if desired. Aliased here for backwards compatibility.

Action::THROWN_SYMBOL
Error =
Class.new(StandardError)
VERSION =
'2.3.1'.freeze

Class Method Summary collapse

Class Method Details

.included(target) ⇒ Object



8
9
10
11
12
# File 'lib/verbalize.rb', line 8

def self.included(target)
  warn Kernel.caller.first + ': `include Verbalize` is deprecated and will be removed in Verbalize v3.0; ' \
                                        'include `Verbalize::Action` instead'
  target.include Verbalize::Action
end