Class: Picturefill::Context::IMAGE

Inherits:
Struct
  • Object
show all
Defined in:
lib/picturefill/context.rb

Instance Attribute Summary collapse

Instance Attribute Details

#mediaObject

Returns the value of attribute media

Returns:

  • (Object)

    the current value of media



4
5
6
# File 'lib/picturefill/context.rb', line 4

def media
  @media
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



4
5
6
# File 'lib/picturefill/context.rb', line 4

def options
  @options
end

#srcObject

Returns the value of attribute src

Returns:

  • (Object)

    the current value of src



4
5
6
# File 'lib/picturefill/context.rb', line 4

def src
  @src
end