Class: Xpub::CallBook::CallAuthor
- Inherits:
-
Object
- Object
- Xpub::CallBook::CallAuthor
- Defined in:
- lib/xpub/dsl/book.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ CallAuthor
constructor
A new instance of CallAuthor.
- #validate ⇒ Object
Constructor Details
#initialize(name) ⇒ CallAuthor
Returns a new instance of CallAuthor.
50 51 52 |
# File 'lib/xpub/dsl/book.rb', line 50 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
47 48 49 |
# File 'lib/xpub/dsl/book.rb', line 47 def name @name end |
Instance Method Details
#validate ⇒ Object
54 55 |
# File 'lib/xpub/dsl/book.rb', line 54 def validate end |