class ReplTalk::Role
Attributes
key[R]
name[R]
tagline[R]
Public Class Methods
new(role)
click to toggle source
# File lib/repltalk/structures.rb, line 8 def initialize(role) @name = role["name"] @key = role["key"] @tagline = role["tagline"] end
Public Instance Methods
to_s()
click to toggle source
# File lib/repltalk/structures.rb, line 14 def to_s @name end