Sha256: 912ea1a5aae9c6b591eb3b40abc1c268abd514b138998770bc93fc453420ecd1

Contents?: true

Size: 119 Bytes

Versions: 5

Compression:

Stored size: 119 Bytes

Contents

require_relative 'external_includes'

def as_class_name table_name
  table_name.to_s.singularize.capitalize.to_sym
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_finite-0.4.2 lib/as_class_name.rb
active_finite-0.4.1 lib/as_class_name.rb
active_finite-0.3.2 lib/as_class_name.rb
active_finite-0.3.1 lib/as_class_name.rb
active_finite-0.2.0 lib/as_class_name.rb