Method: Monolens::Lens#initialize
- Defined in:
- lib/monolens/lens.rb
#initialize(options, registry) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/monolens/lens.rb', line 22 def initialize(, registry) raise ArgumentError if .nil? raise ArgumentError unless registry.is_a?(Registry) raise ArgumentError, "Missing signature on #{self.class}" unless self.class.signature @options = Options.new(, registry, self.class.signature) end |