class Naught::NullClassBuilder::Command

Attributes

builder[R]

Public Class Methods

new(builder) click to toggle source
# File lib/naught/null_class_builder/command.rb, line 6
def initialize(builder)
  @builder = builder
end

Public Instance Methods

call() click to toggle source
# File lib/naught/null_class_builder/command.rb, line 10
def call
  fail(NotImplementedError.new('Method #call should be overriden in child classes'))
end
defer(options = {}, &block) click to toggle source
# File lib/naught/null_class_builder/command.rb, line 14
def defer(options = {}, &block)
  @builder.defer(options, &block)
end