class Fragmentary::Handler
Public Class Methods
all()
click to toggle source
# File lib/fragmentary/handler.rb, line 3 def self.all @@all end
clear()
click to toggle source
# File lib/fragmentary/handler.rb, line 7 def self.clear @@all = [] end
create(**args)
click to toggle source
# File lib/fragmentary/handler.rb, line 12 def self.create(**args) @@all << (handler = self.new(args)) handler end
new(**args)
click to toggle source
# File lib/fragmentary/handler.rb, line 17 def initialize(**args) @args = args end
Public Instance Methods
call()
click to toggle source
# File lib/fragmentary/handler.rb, line 21 def call raise "Method 'call' not defined." end