Class: Screencast

Inherits:
Struct show all
Defined in:
lib/railscasts.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#to_json, #to_map

Instance Attribute Details

#comments_countObject

Returns the value of attribute comments_count

Returns:

  • (Object)

    the current value of comments_count



18
19
20
# File 'lib/railscasts.rb', line 18

def comments_count
  @comments_count
end

#imageObject

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



18
19
20
# File 'lib/railscasts.rb', line 18

def image
  @image
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



18
19
20
# File 'lib/railscasts.rb', line 18

def number
  @number
end

#published_atObject

Returns the value of attribute published_at

Returns:

  • (Object)

    the current value of published_at



18
19
20
# File 'lib/railscasts.rb', line 18

def published_at
  @published_at
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



18
19
20
# File 'lib/railscasts.rb', line 18

def title
  @title
end