Class: Dynamodb::Api::Relation::FromClause
- Inherits:
-
Object
- Object
- Dynamodb::Api::Relation::FromClause
- Defined in:
- lib/dynamodb/api/relation/from_clause.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ FromClause
constructor
A new instance of FromClause.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/dynamodb/api/relation/from_clause.rb', line 7 def name @name end |