Class: ActiveGraphQL::Support::Fancy
- Inherits:
-
Object
- Object
- ActiveGraphQL::Support::Fancy
- Defined in:
- lib/activegraphql/support/fancy.rb
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Fancy
constructor
A new instance of Fancy.
Constructor Details
#initialize(attrs = {}) ⇒ Fancy
4 5 6 |
# File 'lib/activegraphql/support/fancy.rb', line 4 def initialize(attrs = {}) attrs.each { |k, v| send("#{k}=", v) if respond_to?("#{k}=") } end |