Class: Faker::Cli::Field
- Inherits:
-
Object
- Object
- Faker::Cli::Field
- Defined in:
- lib/faker/cli.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type, arguments) ⇒ Field
constructor
A new instance of Field.
Constructor Details
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
13 14 15 |
# File 'lib/faker/cli.rb', line 13 def arguments @arguments end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/faker/cli.rb', line 13 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
13 14 15 |
# File 'lib/faker/cli.rb', line 13 def type @type end |