14 lines
305 B
Ruby
14 lines
305 B
Ruby
|
require 'naught/version'
|
||
|
require 'naught/null_class_builder'
|
||
|
require 'naught/null_class_builder/commands'
|
||
|
|
||
|
module Naught
|
||
|
def self.build(&customization_block)
|
||
|
builder = NullClassBuilder.new
|
||
|
builder.customize(&customization_block)
|
||
|
builder.generate_class
|
||
|
end
|
||
|
module NullObjectTag
|
||
|
end
|
||
|
end
|