Sha256: 7d56f2b1240024ee2144b8bd3b217406def4fd3133da1457ac5f2103fcb7fe99
Contents?: true
Size: 778 Bytes
Versions: 2
Compression:
Stored size: 778 Bytes
Contents
require "isomorphic/inflector" module BuildingSyncTk # An Isomorphic inflector that is specialized for the {BuildingSync} base module. class Inflector < ::Isomorphic::Inflector::AbstractInflector # @!scope class # @!method instance # @return [BuildingSyncTk::Inflector] the singleton instance include ::Singleton # @!scope instance # Private constructor. def initialize super(::BuildingSync) end # @!method building_sync # Inflect upon the given terms. Alias for {#isomorphism}. # # @param terms [Array<Object>] the inflectable terms # @return [String] the inflection # @raise [Isomorphic::InflectorError] if an inflectable term is invalid alias_method :building_sync, :isomorphism end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
building_sync_rails-0.1.1 | lib/building_sync_tk/inflector.rb |
building_sync_rails-0.1.0 | lib/building_sync_tk/inflector.rb |