Class: Dynamodb::Api::Relation::FromClause

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamodb/api/relation/from_clause.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ FromClause

Returns a new instance of FromClause.



9
10
11
12
13
14
# File 'lib/dynamodb/api/relation/from_clause.rb', line 9

def initialize(name)
  if Dynamodb::Api::Config.table_name_prefix?
    name = Dynamodb::Api::Config.table_name_prefix + name
  end
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/dynamodb/api/relation/from_clause.rb', line 7

def name
  @name
end