module Filigree::Application::ClassMethods

Class Methods #

Public Instance Methods

finalize() click to toggle source

Check to make sure all of the required methods are defined.

@raise [NoMethodError]

@return [void]

# File lib/filigree/application.rb, line 73
def finalize
        REQUIRED_METHODS.each do |method|
                if not self.instance_methods.include?(method)
                        raise(NoMethodError, "Application #{self.name} missing method: #{method}")
                end
        end
end
run() click to toggle source

Create a new instance of this application and run it.

@return [Object]

# File lib/filigree/application.rb, line 84
def run
        self.new.run
end