change #inline? memoization from ||= to defined?

||= doesn't make sense in this case because it's a boolean. If @inline
is false, it will unnecessarily be written to.
Merge pull request #985 from signaturelabs/inline_memoization

change #inline? memoization from ||= to defined?