lib/shaped.rb in shaped-0.7.2 vs lib/shaped.rb in shaped-0.7.3

- old
+ new

@@ -4,10 +4,10 @@ module Shaped::Shapes ; end require 'active_support/all' require 'active_model' require_relative './shaped/shape.rb' -Dir[File.dirname(__FILE__) + '/**/*.rb'].sort.each { |file| require file } +Dir["#{File.dirname(__FILE__)}/**/*.rb"].sort.each { |file| require file } module Shaped # rubocop:disable Naming/MethodName, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity def self.Shape(*shape_descriptions) validation_options = shape_descriptions.extract_options!