How to get value of attribute?
- Dominant language
- HTML
- Stars
- 305
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the `find(:face_image).attr(...)` entry point and compare it with the `.data` access shown in the report. Determine whether the attribute getter is supported and, if so, identify the expected return value; done means the read behavior is clear and covered by the project’s existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100