Module: Pincushion
- Defined in:
- lib/pincushion.rb,
lib/pincushion/plugins.rb,
lib/pincushion/version.rb,
lib/pincushion/plugins/csv_serializer.rb,
lib/pincushion/plugins/json_serializer.rb
Defined Under Namespace
Modules: InstanceMethods, ModuleMethods, Plugins, RootModuleMethods
Constant Summary collapse
- DuplicateIdentifierError =
Class.new(StandardError)
- MissingIdentifierError =
Class.new(StandardError)
- MissingPredicateError =
Class.new(StandardError)
Class Method Summary collapse
-
.included(mod) ⇒ Object
module InstanceMethods.
- .version ⇒ Object
Class Method Details
.included(mod) ⇒ Object
module InstanceMethods
154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/pincushion.rb', line 154 def self.included(mod) mod.instance_eval do @identifiers = {} @predicate_pincushion_root = self extend ModuleMethods extend RootModuleMethods include InstanceMethods is_not(*predicates) end end |
.version ⇒ Object
2 3 4 |
# File 'lib/pincushion/version.rb', line 2 def self.version '0.0.1' end |