mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
6 lines
120 B
Ruby
6 lines
120 B
Ruby
![]() |
class Article
|
||
|
attr_accessor :id, :title, :body
|
||
|
def initialize
|
||
|
@id, @title, @body = 1, 'Hello', 'World'
|
||
|
end
|
||
|
end
|