Method: Raddocs::Guide#initialize

Defined in:
lib/raddocs/models.rb

#initialize(attributes) ⇒ Guide

Returns a new instance of Guide.



78
79
80
81
# File 'lib/raddocs/models.rb', line 78

def initialize(attributes)
  @title = attributes.fetch("title")
  @file = attributes.fetch("file")
end