Class: InternetWisdom::Post
- Inherits:
-
Object
- Object
- InternetWisdom::Post
- Defined in:
- lib/internet_wisdom/post.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
Returns the value of attribute hash.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Post
constructor
A new instance of Post.
Constructor Details
#initialize(hash) ⇒ Post
Returns a new instance of Post.
5 6 7 |
# File 'lib/internet_wisdom/post.rb', line 5 def initialize(hash) @hash = hash end |
Instance Attribute Details
#hash ⇒ Object
Returns the value of attribute hash.
3 4 5 |
# File 'lib/internet_wisdom/post.rb', line 3 def hash @hash end |