Method: Schemacop::V3::DslScope#initialize

Defined in:
lib/schemacop/v3/dsl_scope.rb

#initialize(node) ⇒ DslScope

Returns a new instance of DslScope.



6
7
8
9
# File 'lib/schemacop/v3/dsl_scope.rb', line 6

def initialize(node)
  @node = node
  @with_name = @node.class.supports_children_options[:name]
end