Skip to content

How to get value of attribute? #323

@augustosamame

Description

@augustosamame

Hi. I can't seem to figure this one out.

I am setting a remote_image for my UIImageView object like this:

find(:face_image).attr(remote_image: @face.picture)

it works fine.

However I can't seem to figure out a way to GET the value of the set attribute.

These all fail:

find(:face_image).attr(remote_image)
find(:face_image).attr(:remote_image)
find(:face_image).attr("remote_image")

and when doing:

find(:face_image).data

I get back a UIImageView object back which does not respond to inspect.

Any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions