class Ardm::Ar::StorageNames::Proxy
Public Class Methods
new(model)
click to toggle source
# File lib/ardm/ar/storage_names.rb, line 15 def initialize(model) @model = model end
Public Instance Methods
[]=(repo, table_name)
click to toggle source
# File lib/ardm/ar/storage_names.rb, line 19 def []=(repo, table_name) unless repo == :default raise ArgumentError, "repositories other than :default not supported." end @model.table_name = table_name end