module MotionSupport
Public Class Methods
array_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 3 def array_files %w( core_ext/array core_ext/array/wrap core_ext/array/access core_ext/array/conversions core_ext/array/extract_options core_ext/array/grouping core_ext/array/prepend_and_append ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
callbacks_files()
click to toggle source
# File lib/motion-support/motion_support_files.rb, line 5 def callbacks_files %w( _stdlib/array concern descendants_tracker callbacks core_ext/kernel/singleton_class ).map { |file| self.map_file_to_motion_dir(file) } end
class_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 15 def class_files %w( core_ext/class/attribute core_ext/class/attribute_accessors ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
concern_files()
click to toggle source
# File lib/motion-support/motion_support_files.rb, line 15 def concern_files ['concern'].map { |file| self.map_file_to_motion_dir(file) } end
core_ext_files()
click to toggle source
# File lib/motion-support/motion_support_files.rb, line 19 def core_ext_files base_files = %w( core_ext/enumerable core_ext/array core_ext/metaclass core_ext/ns_dictionary core_ext/ns_string core_ext/regexp ).map { |file| self.map_file_to_motion_dir(file) } (array_files + class_files + module_files + integer_files + hash_files + numeric_files + object_files + range_files + string_files + time_files + base_files).uniq end
hash_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 22 def hash_files %w( core_ext/ns_dictionary core_ext/object/to_param core_ext/hash/deep_merge core_ext/hash/except core_ext/hash/indifferent_access core_ext/hash/keys core_ext/hash/reverse_merge core_ext/hash/slice core_ext/hash/deep_delete_if hash_with_indifferent_access core_ext/module/delegation ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
inflector_files()
click to toggle source
# File lib/motion-support/motion_support_files.rb, line 33 def inflector_files %w( inflector/inflections inflector/methods inflections core_ext/string/inflections core_ext/array/prepend_and_append ).map { |file| self.map_file_to_motion_dir(file) } end
integer_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 38 def integer_files %w( core_ext/integer/multiple core_ext/integer/inflections core_ext/integer/time ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
map_core_ext_file_to_motion_dir(file)
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 124 def map_core_ext_file_to_motion_dir(file) File.expand_path(File.join(File.dirname(__FILE__), "/../../../motion", "#{file}.rb")) end
map_file_to_motion_dir(file)
click to toggle source
# File lib/motion-support/motion_support_files.rb, line 58 def map_file_to_motion_dir(file) File.expand_path(File.join(File.dirname(__FILE__), "/../../motion", "#{file}.rb")) end
module_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 46 def module_files %w( core_ext/module/aliasing core_ext/module/introspection core_ext/module/anonymous core_ext/module/reachable core_ext/module/attribute_accessors core_ext/module/attr_internal core_ext/module/delegation core_ext/module/remove_method ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
numeric_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 59 def numeric_files %w( duration core_ext/numeric/bytes core_ext/numeric/conversions core_ext/numeric/time ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
object_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 68 def object_files %w( _stdlib/cgi core_ext/object/acts_like core_ext/object/blank core_ext/object/deep_dup core_ext/object/duplicable core_ext/object/inclusion core_ext/object/try core_ext/object/instance_variables core_ext/object/to_json core_ext/object/to_param core_ext/object/to_query ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
range_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 84 def range_files %w( core_ext/range/include_range core_ext/range/overlaps ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
requires()
click to toggle source
# File lib/motion-support/motion_support_files.rb, line 43 def requires base_files = %w( callbacks concern descendants_tracker duration hash_with_indifferent_access inflections logger number_helper version ).map { |file| self.map_file_to_motion_dir(file) } (callbacks_files + core_ext_files + inflector_files + base_files).uniq end
string_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 91 def string_files %w( core_ext/ns_string core_ext/string/access core_ext/string/behavior core_ext/string/exclude core_ext/string/filters core_ext/string/indent core_ext/string/starts_ends_with core_ext/string/inflections core_ext/string/strip core_ext/module/delegation ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end
time_files()
click to toggle source
# File lib/motion-support/core_ext/core_ext_files.rb, line 106 def time_files %w( _stdlib/date _stdlib/time core_ext/time/acts_like core_ext/time/calculations core_ext/time/conversions core_ext/date/acts_like core_ext/date/calculations core_ext/date/conversions core_ext/date_and_time/calculations core_ext/integer/time core_ext/numeric/time core_ext/object/acts_like duration ).map { |file| self.map_core_ext_file_to_motion_dir(file) } end